package com.zzw.design.expression;

import java.util.Map;

/**
 * @author zzw
 * @see
 * @since 2018/3/26
 */
public class Number implements Expression {

    private int number;

    public Number(int number) {
        this.number = number;
    }

    @Override
    public int interpret(Map<String, Expression> variables) {
        return number;
    }
}
